<!DOCTYPE HTML>

<html>
<head>
<meta name="Generator" content="ECSHOP v2.7.3" />
<meta charset="utf-8">
<title><?php echo $this->_var['page_title']; ?></title>
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />

<link href="themes/yesmywine/css/header.css" rel="stylesheet" type="text/css" />
<link href="themes/yesmywine/css/hp_v3.css" rel="stylesheet" type="text/css"/>

</head>

<body>

<?php
$GLOBALS['smarty']->assign('isindex','isindex');
?>

<?php echo $this->fetch('library/page_header.lbi'); ?>



<div class="hpmain">

<?php echo $this->fetch('library/index_ad.lbi'); ?>

	<div class="section grid-lm mt10">

		<div class="left">

			<div class="mod mod-notice mod-notice-on">

                <div class="notice-main-slider">

					<div id="noticeSlider" class="notice-slider">

						<ul class="slide-items">

							<li>

<?php $this->assign('ads_id','1'); ?><?php $this->assign('ads_num','1'); ?><?php echo $this->fetch('library/ad_position.lbi'); ?>

                            
                            </li>
                            
                            

						</ul>

					</div>

				</div>

				<div class="bd">

					<div id="notices" class="notice-lists">

						<h3 class="clearfix">
<?php $_from = article_categories_tree(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cat');$this->_foreach['cat'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['cat']['total'] > 0):
    foreach ($_from AS $this->_var['cat']):
        $this->_foreach['cat']['iteration']++;
?>
 <?php if (($this->_foreach['cat']['iteration'] - 1) < 3): ?>  
							<span <?php if (($this->_foreach['cat']['iteration'] - 1) == 0): ?>class="first on"<?php endif; ?>><a href="<?php echo $this->_var['cat']['url']; ?>" target="_blank" title="<?php echo htmlspecialchars($this->_var['cat']['name']); ?>"><?php echo htmlspecialchars($this->_var['cat']['name']); ?></a></span>
 <?php endif; ?>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>

						</h3>


<?php $this->assign('articles',$this->_var['articles_9']); ?><?php $this->assign('articles_cat',$this->_var['articles_cat_9']); ?><?php echo $this->fetch('library/cat_articles.lbi'); ?>
<?php $this->assign('articles',$this->_var['articles_10']); ?><?php $this->assign('articles_cat',$this->_var['articles_cat_10']); ?><?php echo $this->fetch('library/cat_articles.lbi'); ?>
<?php $this->assign('articles',$this->_var['articles_11']); ?><?php $this->assign('articles_cat',$this->_var['articles_cat_11']); ?><?php echo $this->fetch('library/cat_articles.lbi'); ?>


					</div>

				</div>

			</div>

		</div>

		<div class="main">

			<div class="mod mod-hotgoods">

<ul class="hottabs"> 
 <li class="active"><a href="search.php?encode=YToyOntzOjU6ImludHJvIjtzOjk6InByb21vdGlvbiI7czoxODoic2VhcmNoX2VuY29kZV90aW1lIjtpOjEzNzQxMzc0MzE7fQ==" target="_blank">限时抢购</a></li> 
 <li><a href="search.php?intro=new" target="_blank">新品上市</a></li> 
 <li><a href="search.php?intro=best" target="blank">精品推荐</a></li> 
 <li class="last"><a href="search.php?intro=hot" target="_blank">本月热销</a></li> 
</ul>

<div class="bd">

<div class="goodslist">
		<?php echo $this->fetch('library/recommend_promotion.lbi'); ?>

        <?php echo $this->fetch('library/recommend_new.lbi'); ?>

        <?php echo $this->fetch('library/recommend_best.lbi'); ?>

        <?php echo $this->fetch('library/recommend_hot.lbi'); ?>
</div>

				</div>

			</div>

		</div>

		</div>
		<div class="blank5"></div>
<div align="center">

<?php $this->assign('ads_id','15'); ?><?php $this->assign('ads_num','1'); ?><?php echo $this->fetch('library/ad_position.lbi'); ?>
</div>
	<div class="section grid-mr mt10">

		<div class="main">

			<div class="mod mod-winetasting">

				<div class="hd">

					<h3>酒友品鉴</h3>

					<div class="more minipage">

						<span class="btn-prev"></span>

						<span class="txt-page">1</span>

						<span class="btn-next"></span>

					</div>

				</div>

				<div class="bd">

					<ul>

        <?php
			$GLOBALS['smarty']->assign('new_comment', get_new_comment(0, 9));
		?>
        <?php $_from = $this->_var['new_comment']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'new_comment');$this->_foreach['new_comment'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['new_comment']['total'] > 0):
    foreach ($_from AS $this->_var['new_comment']):
        $this->_foreach['new_comment']['iteration']++;
?>
						<li>

								<dl>

									<dt>

										<a class="pimg" target="_blank" href="<?php echo $this->_var['new_comment']['url']; ?>">

											<img src="themes/yesmywine/images/1px.gif" original="<?php echo $this->_var['new_comment']['goods_thumb']; ?>" width="110" height="180" alt="<?php echo $this->_var['new_comment']['goods_name']; ?>" />

										</a>

									</dt>

									<dd class="base">

										<a title="<?php echo $this->_var['new_comment']['goods_name']; ?>" class="pname" target="_blank" href="<?php echo $this->_var['new_comment']['url']; ?>"><?php echo $this->_var['new_comment']['goods_name']; ?></a>

										<p class="price">

											<span class="minprice">&yen;<strong><?php echo $this->_var['new_comment']['shop_price']; ?></strong></span>

											<span class="maxprice"><del>&yen;<?php echo $this->_var['new_comment']['market_price']; ?></del></span>


											</p>

									</dd>

									<dd class="comment">


											<p>

												<span class="ratenum">评分<strong><?php echo $this->_var['new_comment']['comment_rank2']; ?></strong></span><br/><br/>

												<?php if ($this->_var['new_comment']['user_name']): ?><?php echo $this->_var['new_comment']['user_name']; ?><?php else: ?>匿名用戶<?php endif; ?>：<a href="<?php echo $this->_var['new_comment']['url']; ?>" target="_blank"><?php echo sub_str($this->_var['new_comment']['content'],80); ?></a>

											</p>

									</dd>

								</dl>

							</li>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>

						</ul>

				</div>

			</div>

		</div>

		<div class="right">

			<div id="specialSlider" class="mod mod-specialslider">

				<div class="hd">

					<h3>高端精选</h3>

					<div class="slide-index"></div>

				</div>

				<div class="bd">

					<ul class="slide-items">

						<!--<li><a href="http://www.yesmywine.com/goods/33.html" title="奔富酒园Bin389加本力设拉子（红）" target="_blank"><img src="themes/yesmywine/images/1px.gif" original="http://img11.yesmyimg.com/slides/newWeb/2013/0701/gd4.jpg" alt="奔富酒园Bin389加本力设拉子（红）" width="240" height="210" border="0" /></a></li>

						<li><a href="http://www.yesmywine.com/goods/5176650.html" title="克莱蒙教皇堡干红葡萄酒2010(名庄)" target="_blank"><img src="themes/yesmywine/images/1px.gif" original="http://img11.yesmyimg.com/slides/newWeb/2013/0701/gd2.jpg" alt="克莱蒙教皇堡干红葡萄酒2010(名庄)" width="240" height="210" border="0" /></a></li>

						<li><a href="http://www.yesmywine.com/goods/5151044.html" title="斯格罗斯甜白葡萄酒" target="_blank"><img src="themes/yesmywine/images/1px.gif" original="http://img11.yesmyimg.com/slides/newWeb/2013/0701/gd3.jpg" alt="斯格罗斯甜白葡萄酒" width="240" height="210" border="0" /></a></li>

						<li><a href="http://www.yesmywine.com/goods/5153490.html" title="柏菲庄园干红葡萄酒2008" target="_blank"><img src="themes/yesmywine/images/1px.gif" original="http://img11.yesmyimg.com/slides/newWeb/2013/0701/gd1.jpg" alt="柏菲庄园干红葡萄酒2008" width="240" height="210" border="0" /></a></li>-->
                        

<?php $this->assign('ads_id','2'); ?><?php $this->assign('ads_num','4'); ?><?php echo $this->fetch('library/ad_position.lbi'); ?>


						</ul>

				</div>

			</div>

		</div>

	</div>


<?php $this->assign('cat_goods',$this->_var['cat_goods_1']); ?><?php $this->assign('goods_cat',$this->_var['goods_cat_1']); ?><?php echo $this->fetch('library/cat_goods.lbi'); ?>
<?php $this->assign('cat_goods',$this->_var['cat_goods_35']); ?><?php $this->assign('goods_cat',$this->_var['goods_cat_35']); ?><?php echo $this->fetch('library/cat_goods.lbi'); ?>
<?php $this->assign('cat_goods',$this->_var['cat_goods_49']); ?><?php $this->assign('goods_cat',$this->_var['goods_cat_49']); ?><?php echo $this->fetch('library/cat_goods.lbi'); ?>
<?php $this->assign('cat_goods',$this->_var['cat_goods_64']); ?><?php $this->assign('goods_cat',$this->_var['goods_cat_64']); ?><?php echo $this->fetch('library/cat_goods.lbi'); ?>



	<div class="section grid-lr mt10">

		<div class="left">

			

			<div class="mod mod-women">

				<div class="hd">

					<h3>醉美女人</h3>

					<!--<a href="#" target="_blank" title="进入女性专区" class="more">进入专区&gt;&gt;</a>-->

				</div>

				<div class="bd">

					<ul class="pg-4 clearfix">						

						<li class="pi-1">                       

<?php $this->assign('ads_id','3'); ?><?php $this->assign('ads_num','1'); ?><?php echo $this->fetch('library/ad_position.lbi'); ?>

                        </li>

						<li class="pi-2">

<?php $this->assign('ads_id','4'); ?><?php $this->assign('ads_num','1'); ?><?php echo $this->fetch('library/ad_position.lbi'); ?>

                        </li>

						<li class="pi-3">

<?php $this->assign('ads_id','5'); ?><?php $this->assign('ads_num','1'); ?><?php echo $this->fetch('library/ad_position.lbi'); ?>

                        </li>

						<li class="pi-4">

<?php $this->assign('ads_id','6'); ?><?php $this->assign('ads_num','1'); ?><?php echo $this->fetch('library/ad_position.lbi'); ?>

                        </li>

						</ul>

					</div>

			</div>

			

		</div>

		<div class="right">

			

			<div class="mod mod-theysay">

				<div class="hd">

					<h3>他们说</h3>

					<div class="more minipage">

						<span class="btn-prev"></span>

						<span class="txt-page">1</span>

						<span class="btn-next"></span>

					</div>

				</div>

				<div class="bd">

					<div class="saylists">

        <?php
			$GLOBALS['smarty']->assign('new_comment', get_new_comment(0, 12));
		?>
        
        <?php $_from = $this->_var['new_comment']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'new_comment');$this->_foreach['new_comment'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['new_comment']['total'] > 0):
    foreach ($_from AS $this->_var['new_comment']):
        $this->_foreach['new_comment']['iteration']++;
?>
          <?php if (($this->_foreach['new_comment']['iteration'] - 1) % 2 == 0): ?>
				<dl><dd><ul>
          <?php endif; ?>

										<li>

												<a class="prod-img" target="_blank" href="<?php echo $this->_var['new_comment']['url']; ?>">

													<img src="themes/yesmywine/images/1px.gif" original="<?php echo $this->_var['new_comment']['goods_thumb']; ?>" width="60" height="98" alt="<?php echo $this->_var['new_comment']['goods_name']; ?>" />

												</a>

												<p>

													<a class="prod-name"><?php echo $this->_var['new_comment']['short_name']; ?></a>

													<span class="ratenum">评分<strong><?php echo $this->_var['new_comment']['comment_rank2']; ?></strong></span>

													<span class="prod-price">&yen;<strong><?php echo $this->_var['new_comment']['shop_price']; ?></strong></span>

												</p>

												<p class="comment"><span class="begin">“</span><a target="_blank" href="<?php echo $this->_var['new_comment']['url']; ?>"><?php echo sub_str($this->_var['new_comment']['content'],36); ?></a><span class="end">”</span></p>

											</li>

<?php if (($this->_foreach['new_comment']['iteration'] - 1) % 2 == 1): ?>
		</ul></dd></dl>
<?php endif; ?>
                            
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>


						</div>

				</div>

			</div>

			

		</div>

	</div>

</div>




<?php echo $this->fetch('library/page_footer.lbi'); ?>


<script type="text/javascript" src="themes/yesmywine/js/index_v3_new.js"></script>

</body>

</html>